<template>
    <div>
        <div>测试通过v-bind，也就是:来绑定数值</div>
        <input type="text" :value="xxx"/>
        <button @click="change">点击修改数值</button>
    </div>
</template>

<script>
export default {
  name: "Bind",
  data() {
    return {
      xxx: "111"
    };
  },
  methods: {
    change() {
        this.xxx = "222";
    },
  },
};
</script>
